package com.member.provider.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.member.dto.DealDetail;
import com.member.provider.mapper.PaymentTransactionMapper;
import com.member.provider.service.PaymentTransactionService;
import com.member.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @auther liujian
 * @date 2024/1/4 17:11
 */
@Service
public class PaymentTransactionServiceImpl extends ServiceImpl<PaymentTransactionMapper,DealDetail> implements PaymentTransactionService {

    @Autowired
    private PaymentTransactionMapper paymentTransactionMapper;

    /**
     * @Description TODO
     * @param
     * @retuen result
     * 支付交易管理
     * @date 2024/1/4 17:13
     * @auther 银狐先生
     */
    @Override
    public Result selectTransactionList(Integer payment) {
        List<DealDetail> dealDetailList = paymentTransactionMapper.selectTransactionList(payment);
        return Result.success(dealDetailList);
    }



}
